package com.shareinfo.adminManage.auto.dao.mybatis;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.shareinfo.base.dao.mybatis.BaseDaoImpl;
import com.shareinfo.adminManage.auto.model.AutoDbTableModel;
import com.shareinfo.adminManage.auto.query.AutoDbTableQuery;
import com.shareinfo.adminManage.auto.dao.AutoDbTableDao;

/**
 * @author 黄鹏 email:94300452@qq.com
 * @version 1.0
 * @since 1.0
 */
@Repository("autoDbTableDao")
public class AutoDbTableDaoImpl extends BaseDaoImpl<AutoDbTableModel, java.lang.String> implements AutoDbTableDao{
	
	public String getMyBatisMapperNamesapce() {
		return "AutoDbTable";
	}
	
	/**
	 * 通过group by统计
	 */
	public List selectGroupDbClassId(AutoDbTableQuery query){
		return this.getSqlSession().selectList(getMyBatisMapperNamesapce()+"_selectGroup_dbClassId", query);
	}
}
